package com.example.flashsales.service;

import com.example.flashsales.entity.pojo.OrderDetails;
import com.example.flashsales.entity.vo.OrderDetailsVo;

import java.util.List;

public interface OrderDetailsService {

    // 根据商品id查看为分拣的订单细节
    List<OrderDetails> viewDetails(long goodsId,Double count);

    //修改订单细节状态
    boolean updateDetailsState(long detailsId,long state);

    //根据细节id获取细节
    OrderDetails viewOrderDetails(long detailsId);
}
